/* תוכן ראשי */
main.tips-tabs {
    max-width: 60em;
    margin: 2em auto;
    padding: 1em;
    font-size: 1em;
    color: #222;
    background-color: #ffffff;
}

/* טאבים */
.tab-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    justify-content: center;
    margin-bottom: 2em;
}

.tab-btn {
    background-color: #eaeaea;
    border: none;
    padding: 0.8em 1.5em;
    font-size: 1em;
    border-radius: 0.5em;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    max-width: 100%;
    word-break: break-word;
}

.tab-btn:hover,
.tab-btn.active {
    background-color: #0077cc;
    color: #fff;
}

/* תוכן טאב */
.tab-content {
    display: none;
    background-color: #fefefe;
    border: 0.1em solid #ddd;
    border-radius: 0.5em;
    padding: 1.5em;
    box-shadow: 0 0.3em 0.8em rgba(0, 0, 0, 0.05);
    word-break: break-word;
}

.tab-content.active {
    display: block;
}

.tab-content h2 {
    font-size: 1.4em;
    margin-top: 0;
    margin-bottom: 1em;
    color: #0077cc;
    word-break: break-word;
    max-width: 100%;
}

.tab-content ul {
    padding-right: 1.5em;
    list-style: disc;
}

.tab-content li {
    margin-bottom: 0.8em;
    line-height: 1.5em;
}

.tab-content p {
    margin-bottom: 1.2em;
    font-size: 1em;
    line-height: 1.6;
}

/* תמונה */
.smart-shopping-image {
    margin: 2em auto;
    text-align: center;
    max-width: 15em;
}

.smart-shopping-image img {
    width: 100%;
    height: auto;
    border: none;
    box-shadow: none;
    border-radius: 0;
}

.smart-shopping-image figcaption {
    margin-top: 0.5em;
    font-size: 0.85em;
    color: #444;
}

/* כפתורי אקורדיון */
.accordion-button {
    white-space: normal;
    max-width: 100%;
    word-break: break-word;
}

/* רספונסיביות */
@media (max-width: 40em) {
    .tab-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .tab-btn {
        width: 100%;
        text-align: center;
    }

    .tab-content {
        padding: 1em;
    }

    .tab-content h2 {
        font-size: 1.2em;
        text-align: center;
    }

    .accordion-button {
        font-size: 0.95em;
    }
}

body,
html {
    overflow-x: hidden;
    max-width: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

/* כותרת למדריך צרכנות*/
.main-guide-heading {
    color: #0077cc;
    text-align: center;
    font-size: 2.5em;
    margin: 1em auto;
    font-weight: bold;
    line-height: 1.3;
    max-width: 90%;
    word-wrap: break-word;
}